<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>STAPpp: CElement Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">STAPpp
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">STAPpp is a C++ finite element method (FEM) code whose input/output data files are the same as STAP90.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_c_element-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CElement Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Element base class.  
 <a href="class_c_element.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_element_8h_source.html">Element.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CElement:</div>
<div class="dyncontent">
<div class="center"><img src="class_c_element__inherit__graph.png" border="0" usemap="#_c_element_inherit__map" alt="Inheritance graph"/></div>
<map name="_c_element_inherit__map" id="_c_element_inherit__map">
<area shape="rect" id="node2" href="class_c_bar.html" title="Bar element class. " alt="" coords="19,79,71,104"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for CElement:</div>
<div class="dyncontent">
<div class="center"><img src="class_c_element__coll__graph.png" border="0" usemap="#_c_element_coll__map" alt="Collaboration graph"/></div>
<map name="_c_element_coll__map" id="_c_element_coll__map">
<area shape="rect" id="node2" href="class_c_material.html" title="Material base class which only define one data member. " alt="" coords="5,5,84,31"/>
<area shape="rect" id="node3" href="class_c_node.html" title="Node class. " alt="" coords="144,5,207,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1bea8a7fd6a8c1529b7bd41f34bd8edf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a1bea8a7fd6a8c1529b7bd41f34bd8edf">CElement</a> ()</td></tr>
<tr class="memdesc:a1bea8a7fd6a8c1529b7bd41f34bd8edf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a1bea8a7fd6a8c1529b7bd41f34bd8edf">More...</a><br /></td></tr>
<tr class="separator:a1bea8a7fd6a8c1529b7bd41f34bd8edf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e84fbf9db78de66c9fd19c0c65b8fb7"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a9e84fbf9db78de66c9fd19c0c65b8fb7">Read</a> (ifstream &amp;Input, unsigned int Ele, <a class="el" href="class_c_material.html">CMaterial</a> *MaterialSets, <a class="el" href="class_c_node.html">CNode</a> *NodeList)=0</td></tr>
<tr class="memdesc:a9e84fbf9db78de66c9fd19c0c65b8fb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read element data from stream Input.  <a href="#a9e84fbf9db78de66c9fd19c0c65b8fb7">More...</a><br /></td></tr>
<tr class="separator:a9e84fbf9db78de66c9fd19c0c65b8fb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e58a659dcc2f9f676effa3453ad4e8d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a3e58a659dcc2f9f676effa3453ad4e8d">Write</a> (ofstream &amp;OutputFile, unsigned int Ele)=0</td></tr>
<tr class="memdesc:a3e58a659dcc2f9f676effa3453ad4e8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write element data to stream OutputFile.  <a href="#a3e58a659dcc2f9f676effa3453ad4e8d">More...</a><br /></td></tr>
<tr class="separator:a3e58a659dcc2f9f676effa3453ad4e8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d8c19d556504af95f80061a9ee2e7dd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a1d8c19d556504af95f80061a9ee2e7dd">GenerateLocationMatrix</a> ()=0</td></tr>
<tr class="memdesc:a1d8c19d556504af95f80061a9ee2e7dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generate location matrix: the global equation number that corresponding to each DOF of the element.  <a href="#a1d8c19d556504af95f80061a9ee2e7dd">More...</a><br /></td></tr>
<tr class="separator:a1d8c19d556504af95f80061a9ee2e7dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0539a65dd0f7900d5c4b5e9cd1df8abb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a0539a65dd0f7900d5c4b5e9cd1df8abb">CalculateColumnHeight</a> (unsigned int *ColumnHeight)</td></tr>
<tr class="memdesc:a0539a65dd0f7900d5c4b5e9cd1df8abb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the column height, used with the skyline storage scheme.  <a href="#a0539a65dd0f7900d5c4b5e9cd1df8abb">More...</a><br /></td></tr>
<tr class="separator:a0539a65dd0f7900d5c4b5e9cd1df8abb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad02a121c629f5b4d4d508cb8c0a4aed3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#ad02a121c629f5b4d4d508cb8c0a4aed3">assembly</a> (double *Matrix, <a class="el" href="class_c_skyline_matrix.html">CSkylineMatrix</a>&lt; double &gt; *StiffnessMatrix)</td></tr>
<tr class="memdesc:ad02a121c629f5b4d4d508cb8c0a4aed3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble the element stiffness matrix to the global stiffness matrix.  <a href="#ad02a121c629f5b4d4d508cb8c0a4aed3">More...</a><br /></td></tr>
<tr class="separator:ad02a121c629f5b4d4d508cb8c0a4aed3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38819c5277adf30f3f3169bec91261f6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a38819c5277adf30f3f3169bec91261f6">ElementStiffness</a> (double *stiffness)=0</td></tr>
<tr class="memdesc:a38819c5277adf30f3f3169bec91261f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate element stiffness matrix (Upper triangular matrix, stored as an array column by colum)  <a href="#a38819c5277adf30f3f3169bec91261f6">More...</a><br /></td></tr>
<tr class="separator:a38819c5277adf30f3f3169bec91261f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84cfab06e5f4d3a1e3732170b84e6e0e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a84cfab06e5f4d3a1e3732170b84e6e0e">ElementStress</a> (double *stress, double *Displacement)=0</td></tr>
<tr class="memdesc:a84cfab06e5f4d3a1e3732170b84e6e0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate element stress.  <a href="#a84cfab06e5f4d3a1e3732170b84e6e0e">More...</a><br /></td></tr>
<tr class="separator:a84cfab06e5f4d3a1e3732170b84e6e0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a13dc46d9eba3a1ecf2677da7d45465"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_node.html">CNode</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a9a13dc46d9eba3a1ecf2677da7d45465">GetNodes</a> ()</td></tr>
<tr class="memdesc:a9a13dc46d9eba3a1ecf2677da7d45465"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return nodes of the element.  <a href="#a9a13dc46d9eba3a1ecf2677da7d45465">More...</a><br /></td></tr>
<tr class="separator:a9a13dc46d9eba3a1ecf2677da7d45465"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c3aa0155a858d271530a462612aad9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_material.html">CMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a9c3aa0155a858d271530a462612aad9c">GetElementMaterial</a> ()</td></tr>
<tr class="memdesc:a9c3aa0155a858d271530a462612aad9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return material of the element.  <a href="#a9c3aa0155a858d271530a462612aad9c">More...</a><br /></td></tr>
<tr class="separator:a9c3aa0155a858d271530a462612aad9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c744d5e8b55ad96f3adbfbe14a6e8cc"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a4c744d5e8b55ad96f3adbfbe14a6e8cc">SizeOfStiffnessMatrix</a> ()=0</td></tr>
<tr class="memdesc:a4c744d5e8b55ad96f3adbfbe14a6e8cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the element stiffness matrix (stored as an array column by column)  <a href="#a4c744d5e8b55ad96f3adbfbe14a6e8cc">More...</a><br /></td></tr>
<tr class="separator:a4c744d5e8b55ad96f3adbfbe14a6e8cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ad098d15aca943b13da14ec88fba7aaa5"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#ad098d15aca943b13da14ec88fba7aaa5">NEN</a></td></tr>
<tr class="memdesc:ad098d15aca943b13da14ec88fba7aaa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of nodes per element.  <a href="#ad098d15aca943b13da14ec88fba7aaa5">More...</a><br /></td></tr>
<tr class="separator:ad098d15aca943b13da14ec88fba7aaa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a049aa63089d5133dbf97b9fe8b45986b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_node.html">CNode</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a049aa63089d5133dbf97b9fe8b45986b">nodes</a></td></tr>
<tr class="memdesc:a049aa63089d5133dbf97b9fe8b45986b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nodes of the element.  <a href="#a049aa63089d5133dbf97b9fe8b45986b">More...</a><br /></td></tr>
<tr class="separator:a049aa63089d5133dbf97b9fe8b45986b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a066cabbbfda053188bf43e11794581"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_material.html">CMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a2a066cabbbfda053188bf43e11794581">ElementMaterial</a></td></tr>
<tr class="memdesc:a2a066cabbbfda053188bf43e11794581"><td class="mdescLeft">&#160;</td><td class="mdescRight">Material of the element.  <a href="#a2a066cabbbfda053188bf43e11794581">More...</a><br /></td></tr>
<tr class="separator:a2a066cabbbfda053188bf43e11794581"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affc6f37cca3dcee2432f8525c28727ee"><td class="memItemLeft" align="right" valign="top">unsigned int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#affc6f37cca3dcee2432f8525c28727ee">LocationMatrix</a></td></tr>
<tr class="memdesc:affc6f37cca3dcee2432f8525c28727ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Location Matrix of the element.  <a href="#affc6f37cca3dcee2432f8525c28727ee">More...</a><br /></td></tr>
<tr class="separator:affc6f37cca3dcee2432f8525c28727ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c23c9c0a89413a25271ef4228c3cc56"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a1c23c9c0a89413a25271ef4228c3cc56">ND</a></td></tr>
<tr class="memdesc:a1c23c9c0a89413a25271ef4228c3cc56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dimension of the location matrix.  <a href="#a1c23c9c0a89413a25271ef4228c3cc56">More...</a><br /></td></tr>
<tr class="separator:a1c23c9c0a89413a25271ef4228c3cc56"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a48a18fbde865d6066464516d5a1bfe2f"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_element.html#a48a18fbde865d6066464516d5a1bfe2f">CDomain</a></td></tr>
<tr class="separator:a48a18fbde865d6066464516d5a1bfe2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Element base class. </p>
<p>All type of element classes should be derived from this base class </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1bea8a7fd6a8c1529b7bd41f34bd8edf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bea8a7fd6a8c1529b7bd41f34bd8edf">&#9670;&nbsp;</a></span>CElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CElement::CElement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad02a121c629f5b4d4d508cb8c0a4aed3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad02a121c629f5b4d4d508cb8c0a4aed3">&#9670;&nbsp;</a></span>assembly()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CElement::assembly </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>Matrix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_skyline_matrix.html">CSkylineMatrix</a>&lt; double &gt; *&#160;</td>
          <td class="paramname"><em>StiffnessMatrix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assemble the element stiffness matrix to the global stiffness matrix. </p>

</div>
</div>
<a id="a0539a65dd0f7900d5c4b5e9cd1df8abb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0539a65dd0f7900d5c4b5e9cd1df8abb">&#9670;&nbsp;</a></span>CalculateColumnHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CElement::CalculateColumnHeight </td>
          <td>(</td>
          <td class="paramtype">unsigned int *&#160;</td>
          <td class="paramname"><em>ColumnHeight</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculate the column height, used with the skyline storage scheme. </p>

</div>
</div>
<a id="a38819c5277adf30f3f3169bec91261f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38819c5277adf30f3f3169bec91261f6">&#9670;&nbsp;</a></span>ElementStiffness()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CElement::ElementStiffness </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>stiffness</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate element stiffness matrix (Upper triangular matrix, stored as an array column by colum) </p>

<p>Implemented in <a class="el" href="class_c_bar.html#ab586c0c08205751b7be49301ece8aafb">CBar</a>.</p>

</div>
</div>
<a id="a84cfab06e5f4d3a1e3732170b84e6e0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84cfab06e5f4d3a1e3732170b84e6e0e">&#9670;&nbsp;</a></span>ElementStress()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CElement::ElementStress </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>stress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>Displacement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate element stress. </p>

<p>Implemented in <a class="el" href="class_c_bar.html#a79ba6f2b35bb048398ca1d620c440d19">CBar</a>.</p>

</div>
</div>
<a id="a1d8c19d556504af95f80061a9ee2e7dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d8c19d556504af95f80061a9ee2e7dd">&#9670;&nbsp;</a></span>GenerateLocationMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CElement::GenerateLocationMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Generate location matrix: the global equation number that corresponding to each DOF of the element. </p>

<p>Implemented in <a class="el" href="class_c_bar.html#a8ccef3010d999490d3a8f5da0e800b19">CBar</a>.</p>

</div>
</div>
<a id="a9c3aa0155a858d271530a462612aad9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c3aa0155a858d271530a462612aad9c">&#9670;&nbsp;</a></span>GetElementMaterial()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_material.html">CMaterial</a>* CElement::GetElementMaterial </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return material of the element. </p>

</div>
</div>
<a id="a9a13dc46d9eba3a1ecf2677da7d45465"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a13dc46d9eba3a1ecf2677da7d45465">&#9670;&nbsp;</a></span>GetNodes()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_node.html">CNode</a>** CElement::GetNodes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return nodes of the element. </p>

</div>
</div>
<a id="a9e84fbf9db78de66c9fd19c0c65b8fb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e84fbf9db78de66c9fd19c0c65b8fb7">&#9670;&nbsp;</a></span>Read()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool CElement::Read </td>
          <td>(</td>
          <td class="paramtype">ifstream &amp;&#160;</td>
          <td class="paramname"><em>Input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>Ele</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_material.html">CMaterial</a> *&#160;</td>
          <td class="paramname"><em>MaterialSets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_node.html">CNode</a> *&#160;</td>
          <td class="paramname"><em>NodeList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read element data from stream Input. </p>

<p>Implemented in <a class="el" href="class_c_bar.html#a9dab4ce4b4dc467b77a673d515973a80">CBar</a>.</p>

</div>
</div>
<a id="a4c744d5e8b55ad96f3adbfbe14a6e8cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c744d5e8b55ad96f3adbfbe14a6e8cc">&#9670;&nbsp;</a></span>SizeOfStiffnessMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned int CElement::SizeOfStiffnessMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the size of the element stiffness matrix (stored as an array column by column) </p>

<p>Implemented in <a class="el" href="class_c_bar.html#a7cd3587269e0194f9b8a0cc689bfc0c8">CBar</a>.</p>

</div>
</div>
<a id="a3e58a659dcc2f9f676effa3453ad4e8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e58a659dcc2f9f676effa3453ad4e8d">&#9670;&nbsp;</a></span>Write()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CElement::Write </td>
          <td>(</td>
          <td class="paramtype">ofstream &amp;&#160;</td>
          <td class="paramname"><em>OutputFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>Ele</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write element data to stream OutputFile. </p>

<p>Implemented in <a class="el" href="class_c_bar.html#a4231decc59a5caec261a489812677c4a">CBar</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a48a18fbde865d6066464516d5a1bfe2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48a18fbde865d6066464516d5a1bfe2f">&#9670;&nbsp;</a></span>CDomain</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_c_domain.html">CDomain</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2a066cabbbfda053188bf43e11794581"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a066cabbbfda053188bf43e11794581">&#9670;&nbsp;</a></span>ElementMaterial</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_material.html">CMaterial</a>* CElement::ElementMaterial</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Material of the element. </p>
<p>Pointer to an element of MaterialSetList[][] </p>

</div>
</div>
<a id="affc6f37cca3dcee2432f8525c28727ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affc6f37cca3dcee2432f8525c28727ee">&#9670;&nbsp;</a></span>LocationMatrix</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int* CElement::LocationMatrix</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Location Matrix of the element. </p>

</div>
</div>
<a id="a1c23c9c0a89413a25271ef4228c3cc56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c23c9c0a89413a25271ef4228c3cc56">&#9670;&nbsp;</a></span>ND</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int CElement::ND</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Dimension of the location matrix. </p>

</div>
</div>
<a id="ad098d15aca943b13da14ec88fba7aaa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad098d15aca943b13da14ec88fba7aaa5">&#9670;&nbsp;</a></span>NEN</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int CElement::NEN</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Number of nodes per element. </p>

</div>
</div>
<a id="a049aa63089d5133dbf97b9fe8b45986b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a049aa63089d5133dbf97b9fe8b45986b">&#9670;&nbsp;</a></span>nodes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_node.html">CNode</a>** CElement::nodes</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Nodes of the element. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/Users/xzhang/git/FEM-Projects/STAPpp/src/h/<a class="el" href="_element_8h_source.html">Element.h</a></li>
<li>/Users/xzhang/git/FEM-Projects/STAPpp/src/cpp/<a class="el" href="_element_8cpp.html">Element.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
